package cn.clx.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 秒杀提交订单前端传递到后端的参数
 */
@Data
public class KillCourseOrderCreateParamsDto {
    @NotNull(message = "支付方式必选")
    private Integer payType;
    //下单防重复的token
    @NotEmpty(message = "token必传")
    private String token;

    @NotEmpty(message = "orderNo必传")
    private String orderNo;
}
